package com.project.poetry.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project.poetry.service.entity.po.sentence.PoetrySentencePO;
import com.project.poetry.service.mapper.PoetrySentenceMapper;
import com.project.poetry.service.service.PoetrySentenceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author mengxj
 */
@Service
public class PoetrySentenceServiceImpl extends ServiceImpl<PoetrySentenceMapper, PoetrySentencePO> implements PoetrySentenceService {

    @Resource
    private PoetrySentenceMapper poetrySentenceMapper;

    @Override
    public void saveBatch(List<PoetrySentencePO> list) {
        this.poetrySentenceMapper.saveBatch(list);
    }
}
